using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace PEM
{
    /// <summary>
    /// Interaction logic for SuiteLoginDialog.xaml
    /// </summary>
    public partial class SuiteLoginDialog : PersistentModalDialog
    {
        #region Properties

        public string SuiteLogin
        {
            get
            {
                return uiLoginTextBox.Text;
            }
        }

        public string SuitePassword
        {
            get
            {
                return uiPasswordBox.Password;
            }
        }

        #endregion // Properties

        #region Constructor

        public SuiteLoginDialog()
        {
            InitializeComponent();
        }

        #endregion // Constructor

        #region Event Handlers

        private void OnOkButtonClick(object sender, RoutedEventArgs e)
        {
            DialogResult = true;
        }

        private void OnCancelButtonClick(object sender, RoutedEventArgs e)
        {
            DialogResult = false;
        }

        #endregion // Event Handlers
    }
}
